
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */




package strutsitem;




import com.opensymphony.xwork2.ActionSupport;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;
import org.apache.struts2.interceptor.ServletRequestAware;



/**

 *

 * @author JAVA

 */



public abstract class ActionCommon extends ActionSupport implements ServletRequestAware {

    protected HttpSession session;
    public ActionCommon() {

    }



    public String execute() throws Exception {

       return "";

    }
    @Override
    public void setServletRequest(HttpServletRequest hsr) {
        session=hsr.getSession(true);
    }


}